package com.sqrj.phoneorder.dao;

import com.sqrj.phoneorder.Vo.WeighNameVo;
import com.sqrj.phoneorder.Vo.WeighProUnitVo;
import com.sqrj.phoneorder.Vo.WeighStorageVo;
import com.sqrj.phoneorder.Vo.WeighTruckVo;
import com.sqrj.phoneorder.dto.WeighCountDto;
import com.sqrj.phoneorder.model.GybWeighRecord;
import com.sqrj.phoneorder.model.GybWeighRecordKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GybWeighRecordMapper {
    int deleteByPrimaryKey(GybWeighRecordKey key);

    int insert(GybWeighRecord record);

    int insertSelective(GybWeighRecord record);

    GybWeighRecord selectByPrimaryKey(GybWeighRecordKey key);

    int updateByPrimaryKeySelective(GybWeighRecord record);

    int updateByPrimaryKey(GybWeighRecord record);

    List<WeighProUnitVo> getPageListByProUnit(@Param("weighCountDto") WeighCountDto weighCountDto);

    List<String> getWeightCustomerList(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<WeighTruckVo> getPageListByTruck(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<String> getWeightTruckList(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<WeighNameVo> getPageListByName(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<String> getWeightTypeList(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<WeighStorageVo> getPageListByStorage(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<String> getWeightStorageList(@Param("weighCountDto")WeighCountDto weighCountDto);

    List<GybWeighRecord> queryWeightRecord(@Param("weighCountDto")WeighCountDto weighCountDto);
}